Skip to main content

Interface ICallGateProvider<T1, T2, T3, T4, T5, T6, T7, TRet>

This class facilitates inter-plugin communication.

Assembly: Dalamud.dll
View Source
Declaration
public interface ICallGateProvider<T1, T2, T3, T4, T5, T6, T7, TRet>

Methods

RegisterAction(Action<T1, T2, T3, T4, T5, T6, T7>)

Registers an Action for inter-plugin communication.

View Source
Declaration
void RegisterAction(Action<T1, T2, T3, T4, T5, T6, T7> action)
Parameters
TypeNameDescription
System.Action<<T1>,<T2>,<T3>,<T4>,<T5>,<T6>,<T7>>actionAction to register.

RegisterFunc(Func<T1, T2, T3, T4, T5, T6, T7, TRet>)

Registers a Func for inter-plugin communication.

View Source
Declaration
void RegisterFunc(Func<T1, T2, T3, T4, T5, T6, T7, TRet> func)
Parameters
TypeNameDescription
System.Func<<T1>,<T2>,<T3>,<T4>,<T5>,<T6>,<T7>,<TRet>>funcFunc to register.

UnregisterAction()

Removes a registered Action from inter-plugin communication.

View Source
Declaration
void UnregisterAction()

UnregisterFunc()

Removes a registered Func from inter-plugin communication.

View Source
Declaration
void UnregisterFunc()

SendMessage(T1, T2, T3, T4, T5, T6, T7)

Invoke all actions that have subscribed to this IPC.

View Source
Declaration
void SendMessage(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
Parameters
TypeName
<T1>arg1
<T2>arg2
<T3>arg3
<T4>arg4
<T5>arg5
<T6>arg6
<T7>arg7